<template>
  <div>
    <ServiceProgress v-if="route.query.type === 'APPLY' || route.query.type === 'AFTERSALEING' || route.query.type === 'COMPLETED' || route.query.type === 'CANCELED'" />

    <ServiceApply v-else />
  </div>
</template>

<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute } from 'vue-router'
import ServiceProgress from './detail.vue'
import ServiceApply from './apply.vue'

const route = useRoute()
</script>
<style scoped></style>
